key = logical(randi([0, 1], 1, 128));



[P, Judge] = NIST_TEST(key);

keystr = num2str(key);